problem based on equivalent resistance